<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Http</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Http</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">DataCenter接口访问基类</p>
	<ul class="tags">
				<li><span class="field">author:</span> JohnnyDen &lt;<a href="mailto:413819942@qq.com">413819942@qq.com</a>&gt;</li>
				<li><span class="field">copyright:</span> 2017年12月8日</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Core---Http.php.html">/Core/Http.php</a> (line <span class="field">10</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
												<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
											static <span class="method-result">array</span>
										<a href="#call" title="details" class="method-name">call</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$controller</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$action</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$post</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$access_token</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$crypt_level</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$is_upload</span> = <span class="var-default">false</span>], <span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
											static <span class="method-result">number</span>
										<a href="#getClientID" title="details" class="method-name">getClientID</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
											static <span class="method-result">void</span>
										<a href="#LogW" title="details" class="method-name">LogW</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$log</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$destination</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
											static <span class="method-result">array</span>
										<a href="#requestInfo" title="details" class="method-name">requestInfo</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
											static <span class="method-result">array</span>
										<a href="#test" title="details" class="method-name">test</a>
										()
									</div>
																																																							</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
													<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodcall" id="call"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static call</span> (line <span class="line-number">116</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">接口调用</p>
<p class="description"><p>组装请求，接收结果并解码（加签-编码-请求-接收-解码-返回）</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			call
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$controller</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$action</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$post</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$access_token</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$crypt_level</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$is_upload</span> = <span class="var-default">false</span>], <span class="var-type">bool</span>&nbsp;<span class="var-name">$encrypt</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$controller</span><span class="var-description">: 请求控制器名称</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$action</span><span class="var-description">: 请求方法名</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$post</span><span class="var-description">: 提交的数据</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$access_token</span><span class="var-description">: 通信身份确认标识</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$encrypt</span><span class="var-description">: 是否加密通信</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$crypt_level</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$is_upload</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetClientID" id="getClientID"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static getClientID</span> (line <span class="line-number">31</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">获取CLientID</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">number</span>
		<span class="method-name">
			getClientID
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodLogW" id="LogW"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static LogW</span> (line <span class="line-number">190</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">日志写入接口</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			LogW
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$log</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$destination</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$log</span><span class="var-description">: 日志信息</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$destination</span><span class="var-description">: 写入目标</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrequestInfo" id="requestInfo"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static requestInfo</span> (line <span class="line-number">47</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">请求信息，用于调试</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			requestInfo
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodtest" id="test"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static test</span> (line <span class="line-number">39</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">测试连访问是否成功</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			test
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Wed, 14 Nov 2018 07:19:18 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>